﻿using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
//using System.Xml.Linq;
using System.Data;
using KPIS.Utils;
using KPIS.DBM;
using KPIS.GERP.GHRMS.IBLL;
using KPIS.GERP.GHRMS.BLL;
using KPIS.GERP.GHRMS.MODEL;
using Telerik.Web.UI;

namespace KPIS.GERP.GHRMS.APP.App_UI.UserControls
{
    public partial class PR_SumPositionTypes : System.Web.UI.UserControl
    {
        private BudgetManagementTestDtlBLL dtsBLL = new BudgetManagementTestDtlBLL();
        protected void Page_Load(object sender, EventArgs e)
        {
            LoadDataGrid();
        }
        private void LoadDataGrid()
        {
            int mng_test_seq = int.Parse(Request.QueryString["mng_test_seq"].ToString());
            DataTable dt = dtsBLL.ListPromotionEmployees(mng_test_seq);

            RadGrid2.DataSource = dt;
            RadGrid2.DataBind();            
        }
    }
}